package com.yanfan;

import com.alibaba.fastjson2.JSONObject;
import com.yanfan.ba.util.BacnetDataRetriever;

import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.util.regex.Pattern;

public class Main {
    public static void main(String[] args) throws Exception {
        String input = "Drivers.10.22.28.12.ModbusDevice.points.FCU_B2F_7.FAN_ST";

    }




    public static boolean isFloat(String str) {
        // 定义匹配浮点数的正则表达式
        String pattern = "^[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?$";
        return Pattern.matches(pattern, str);
    }
}
